package com.swt.draw.service.impl;

import com.swt.draw.dao.Fla55Mapper;
import com.swt.draw.dao.YjkMapper;
import com.swt.draw.entity.Fla55;
import com.swt.draw.entity.Yjk;
import com.swt.draw.example.Fla55Example;
import com.swt.draw.example.YjkExample;
import com.swt.draw.service.GztToolService;
import com.swt.draw.vo.GztToolVO;
import com.swt.draw.vo.page.PageVO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @ClassName
 * @Description TODO
 * @Author Administrator
 * @Date 2019/10/20 0020 23:48
 * @Version 1.0
 **/
@Service("gztToolService")
public class GztToolServiceImpl implements GztToolService {
    @Resource
    private Fla55Mapper fla55Mapper;
    @Resource
    private YjkMapper yjkMapper;

    @Override
    public Integer addTool(Fla55 fla55, Yjk syjk) {
        return null;
    }

    @Override
    public Integer addToolSelective(Fla55 fla55, Yjk syjk) {
        return null;
    }

    @Override
    public Long getToolCount(YjkExample example) {
        return yjkMapper.countByExample(example);
    }

    @Override
    public List<GztToolVO> getToolList(Fla55 fla55, Yjk syjk, PageVO pageVO) {
        return fla55Mapper.getToolList(fla55, syjk, pageVO);
    }
}
